using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace JumpBall_2
{
    public class PlayerControll : MonoBehaviour
    {
        public GameObject ball;



        void Update()
        {
            if (Input.GetButtonDown("Fire1"))
            {
                var ballControll = ball.GetComponent<BallControll>();
                ballControll.Boost();
            }
        }
    }
}
